package com.study.java.oop.callback.calback_test;

public class DakaiClass implements  DaKaiHuidaio{

    @Override
    public void error(FanHui fanHui) {
        if (fanHui==FanHui.URL_ERROR){
            System.out.println("无效的url");
        }


    }

    @Override
    public void succeed() {
        System.out.println("成功");
    }
}
